package com.icode.chat;

import com.icode.chat.message.ChatMessage;

import javax.websocket.DecodeException;
import javax.websocket.Decoder;
import javax.websocket.EndpointConfig;

/**
 * Created with IntelliJ IDEA.
 * User: ZhongGang
 * Date: 14-8-4
 * Time: 下午8:00
 */
public class ChatMessageDecoder implements Decoder.Text<ChatMessage> {

    @Override
    public ChatMessage decode(String s) throws DecodeException {
        throw new UnsupportedOperationException("Not yet implemented!");
    }

    @Override
    public boolean willDecode(String s) {
        throw new UnsupportedOperationException("Not yet implemented!");
    }

    @Override
    public void init(EndpointConfig endpointConfig) {
//        throw new UnsupportedOperationException("Not yet implemented!");
    }

    @Override
    public void destroy() {
//        throw new UnsupportedOperationException("Not yet implemented!");
    }
}
